load("//platform/ios/bazel:macros.bzl", "info_plist")

filegroup(
    name = "ios_benchmark_srcs",
    srcs = [
        "MBXBenchAppDelegate.mm",
        "MBXBenchViewController.mm",
        "locations.cpp",
        "main.mm",
    ],
    visibility = ["//platform:__pkg__"],
)

filegroup(
    name = "ios_benchmark_hdrs",
    srcs = [
        "MBXBenchAppDelegate.h",
        "MBXBenchViewController.h",
        "locations.hpp",
    ],
    visibility = ["//platform:__pkg__"],
)

filegroup(
    name = "bundle_resources",
    srcs = glob([
        "*.lproj/**",
        "Assets.xcassets/**",
    ]),
    visibility = ["//platform/ios:__pkg__"],
)

info_plist(
    name = "info_benchmark_plist",
    out = "Info-benchmark.plist",
    base_info_plist = "Info.plist",
    visibility = ["//platform/ios:__pkg__"],
)

exports_files(["Info.plist"])
